/*
 * @ author madman
 * @ use 通知
 */
var mongoose = require("mongoose");
var Schema = mongoose.Schema;
const ObjectId = Schema.Types.ObjectId;
var shortid = require('shortid');
var numberSchema = new Schema({
    _id: {
        type: String,
        'default': shortid.generate
    },
    // 新建时间
    createdAt: {
        type: Date,
        default: Date.now
    },
    // 更新时间
    updataAt: {
        type: Date
    }
});

module.exports = mongoose.model('j_numbers', numberSchema, 'j_numbers');